/***
 * @Author: unicorn-get-happy unicorn_boy@163.com
 * @Date: 2023-11-24 23:04:00
 * @LastEditors: unicorn-get-happy unicorn_boy@163.com
 * @LastEditTime: 2023-11-25 12:03:01
 * @FilePath: \esp32\components\lvgl_esp32_drivers\lvgl_touch\cst816t.h
 * @Description: cst816 触摸驱动头文件
 * @
 * @Copyright (c) 2023 by unicorn_boy@163.com, All Rights Reserved.
 */

#ifndef __CST816T_H__
#define __CST816T_H__

#include <stdint.h>
#include <stdbool.h>
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif

#define CST816T_ADDR 0X15

void cst816t_init();
bool cst816t_read(lv_indev_drv_t *drv, lv_indev_data_t *data);

#ifdef __cplusplus
}
#endif

#endif /* __CST816T_H__ */
